package dbz.domain.dtos;

import dbz.domain.player.Player;

public class PlayerDTO {

	
	private DeckDTO deck;
	private DiscardPileDTO discardPile;
	private HandDTO hand;

	public PlayerDTO(Player player) {
		this.deck = new DeckDTO(player.getDeck());
		this.discardPile = new DiscardPileDTO(player.getDiscardPile());
		this.hand = new HandDTO(player.getHand());
	}

	public DeckDTO getDeck() {
		return deck;
	}

	public void setDeck(DeckDTO deck) {
		this.deck = deck;
	}

	public DiscardPileDTO getDiscardPile() {
		return discardPile;
	}

	public void setDiscardPile(DiscardPileDTO discardPile) {
		this.discardPile = discardPile;
	}

	public HandDTO getHand() {
		return hand;
	}

	public void setHand(HandDTO hand) {
		this.hand = hand;
	}
}
